﻿namespace Company.Shell.Models
{
    /// <summary>
    /// 房间PID参数
    /// </summary>
    public class RoomParameter
    {
        public int RoomId { get; set; }

        //温度
        public float TemperatureP { get; set; } = 0;
        public float TemperatureI { get; set; } = 0;
        public float TemperatureD { get; set; } = 0;
        public float TemperatureCycleTime { get; set; } = 0;
        public float TemperatureUpperLimit { get; set; } = 0;
        public float TemperatureLowerLimit { get; set; } = 0;
        public float TemperatureOpenTime { get; set; } = 0;
        public float TemperatureCloseTime { get; set; } = 0;
        public float TemperatureUpperTolerance { get; set; } = 0;
        public float TemperatureLowerTolerance { get; set; } = 0;


        //湿度
        public float HumidityP { get; set; } = 0;
        public float HumidityI { get; set; } = 0;
        public float HumidityD { get; set; } = 0;
        public float HumidityCycleTime { get; set; } = 0;
        public float HumidityUpperLimit { get; set; } = 0;
        public float HumidityLowerLimit { get; set; } = 0;
        public float HumidityOpenTime { get; set; } = 0;
        public float HumidityCloseTime { get; set; } = 0;
        public float HumidityUpperTolerance { get; set; } = 0;
        public float HumidityLowerTolerance { get; set; } = 0;

        //12条数字量曲线的标题 
        public string TitleLine0 { get; set; } = "Line0(%)";
        public string TitleLine1 { get; set; } = "Line1(%)";
        public string TitleLine2 { get; set; } = "Line2(%)";
        public string TitleLine3 { get; set; } = "Line3(%)";
        public string TitleLine4 { get; set; } = "Line4(%)";
        public string TitleLine5 { get; set; } = "Line5(%)";
        public string TitleLine6 { get; set; } = "Line6(%)";
        public string TitleLine7 { get; set; } = "Line7(%)";
        public string TitleLine8 { get; set; } = "Line8(%)";
        public string TitleLine9 { get; set; } = "Line9(%)";
        public string TitleLine10 { get; set; } = "Line10(%)";
        public string TitleLine11 { get; set; } = "Line11(%)";

        //显示曲线

        public bool Show0 { get; set; }
        public bool Show1 { get; set; }
        public bool Show2 { get; set; }
        public bool Show3 { get; set; }
        public bool Show4 { get; set; }
        public bool Show5 { get; set; }
        public bool Show6 { get; set; }
        public bool Show7 { get; set; }
        public bool Show8 { get; set; }
        public bool Show9 { get; set; }
        public bool Show10 { get; set; }
        public bool Show11 { get; set; }
    }
}
